#include "decoder_null.h"

// ======================================
// Methods for Playlist
// ======================================

// ----------------
bool DecoderNULL::checkFormat(std::string filepath) {
// ----------------
	return true;
}

// ----------------
fileInfo DecoderNULL::getInfo() {
// ----------------
	fileInfo info;
	info.type.assign("NULL");
	info.channels = 0;
	info.sampleRate = 0;
	info.kbps = 0;
	info.length = 0;
	info.bits = 0;
	info.title[0] = 0;
	info.artist[0] = 0;
	info.album[0] = 0;
	info.year[0] = 0;
	info.track[0] = 0;
	info.alltracks[0] = 0;
	info.rgLoudness = 0;
	info.rgTrackGain = 0;
	info.rgTrackPeak = 0;
	info.rgAlbumGain = 0;
	info.rgAlbumPeak = 0;
	return info;
}

// ======================================
// Methods for Player
// ======================================

// ----------------
void DecoderNULL::fillBuffers(int16_t *buffer_l, int16_t *buffer_r, uint32_t samples) {}
// ----------------
// ----------------
bool DecoderNULL::reachedEnd() { return true; }
// ----------------
// ----------------
void DecoderNULL::prprForPlayback(fileInfo info) {}
// ----------------
// ----------------
void DecoderNULL::toFirstSample() {}
// ----------------
// ----------------
uint32_t DecoderNULL::getCurrentFrame() { return 0; }
// ----------------

